package com.cy.ppj.model.vo.front.productannouncement;

import java.util.Date;

import com.cy.ppj.comm.annotation.OssUrl;
import com.cy.ppj.model.enums.ProductAndAnnouncementType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前台-产品通知与平台公告列表
 *
 * @author: tanyilin
 * @create: 2018年10月16日 下午3:28:24
 */
@Data
@OssUrl
@ApiModel("前台-产品通知与平台公告列表")
public class ProductAnnouncementVO {

	@ApiModelProperty(value = "ID", example = "0")
	private Long id;
	
	@ApiModelProperty(value = "标题")
	private String title;
	
	@ApiModelProperty(value = "类型")
	private ProductAndAnnouncementType type;
	
	@ApiModelProperty(value = "类型文案")
	private String typeText;
	
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	
	@ApiModelProperty(value = "内容梗要")
	private String brief;
	
	@ApiModelProperty(value = "来源")
	private String source;
	
	@OssUrl
	@ApiModelProperty(value = "图片路径")
	private String imgPath;
	
	@ApiModelProperty(value = "正文内容")
	private String content;
}
